<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>practice_学子商城首页</title>
    <style>
        *{
            margin:0;
            padding: 0;
            text-decoration: none;
        }
        .center{
            overflow: hidden;
            margin: 0 auto;
            width: 1000px;
        }
        /*f1 css*/
        .f1{
            overflow: hidden;
        }
        /*f1 left css*/
        .center>.f1>.left{
            width: 611px;
            height: 376px;
            background-color: #e8e8e8;
            float: left;
            margin-right: 10px;
            margin-bottom: 10px;
            position: relative;
        }
        .f1>.left>.text {
            position:absolute;
            margin-top: 68px;
            margin-left: 36px;
            width: 245px;
            height: 232px;
        }
        /*后代选择器 一致的样式*/
        .f1 .text>.title {
            font-size: 32px;
            color: #333;
            font-weight: lighter;
            margin-bottom: 12px;
            /*white-space: nowrap; !* 防止内容换行 *!*/
        }
        .f1 .text>.intor{
            font-size: 12px;
            color: #666;
            font-weight:  lighter;
            margin-bottom: 24px;
        }
        .f1 .text>.money{
            font-size: 24px;
            font-weight: bold;
            color: #0aa1ed;
            margin-bottom: 12px;
        }
        .f1 .text>a{
            display:inline-block;
            width: 132px;
            height: 40px;
            background-color: #0aa1ed;
            border-right: 5px;
        }
        .f1>.left>.text>a>p{
            color: #fff;
            font-size: 20px;
            text-align: center;
            line-height: 40px;
        }
        .f1>.left>.img1{
            width: 318px;
            height: 319px;
            position: absolute;
            left: 265px;
            top: 35px;
        }
        /*f1 right css*/
        .center>.f1>.right{
            width: 375px;
            height: 376px;
            background-color: yellow;
            float: left;
            position: relative; ;
        }
        .f1>.right>.text{
            position: absolute;
            top: 39px;
            left: 25px;
            width: 245px;
            height: 232px;
        }
        .f1>.right>.text>a>p{
            color: #fff;
            font-size: 20px;
            text-align: center;
            line-height: 40px;
        }
        .img2{
            position: absolute;
            width: 292px;
            height: 232px;
            top: 130px;
            left: 75px;
        }
    /*    f2css*/
    .f2{
        overflow: hidden;
    }
    /*    f2 left css*/
        .center>.f2>.left{
            width: 366px;
            height: 233px;
            background-color: pink;
            float: left;
            margin-right: 20px;
        }
        .f2>.card{
            width: 198px;
            height: 233px;
            background-color: #0aa1ed;
            float: left;
            margin-right: 8px;
        }
        .f2>.card3{
            margin-right: 0;
        }
    </style>
</head>
<body>
<div class="center">
    <div class="f1">
        <div class="left">
            <div class="text">
            <p class="title">灵越 燃7000系列</p>
            <p class="intor">酷睿双核i5处理器|256GB SSD| 8GB内存<br>
                英特尔HD显卡620含共享显卡内存</p>
            <p class="money">￥4999.00</p>
            <a  href="#"><p>查看详情</p></a>
            </div>
            <img src="img/computer1.png" class="img1">
        </div>
        <div class="right">
            <div class="text">
                <p class="title">颜值 框不住</p>
                <p class="intor">酷睿双核i5处理器|256GB SSD| 8GB内存<br>
                    英特尔HD显卡620含共享显卡内存</p>
                <p class="money">￥6888.00</p>
                <a href="#"><p>查看详情</p></a>
            </div>
            <img src="img/computer2.png" class="img2">
        </div>
    </div>
    <div class="f2">
        <div class="left">
            <div class="tit">
                <img src="img/icon.png" class="img3">
                <span>电脑，办公/1F</span>
            </div>
            <div class="item_all">
                <p>电脑整机</p>
                <ul>
                    <li>笔记本</li>
                    <li>游戏机</li>
                    <li>台式机</li>
                    <li>一体机</li>
                    <li>服务器</li>
                    <li>联想</li>
                </ul>
                <p>电脑配件</p>
                <ul>
                    <li>CPU</li>
                    <li>SSD硬盘</li>
                    <li>显示器</li>
                    <li>显卡</li>
                    <li>组装电脑</li>
                    <li>机箱</li>
                </ul>
                <p>外设/游戏</p>
                <ul>
                    <li>键盘</li>
                    <li>鼠标</li>
                    <li>U盘</li>
                    <li>移动硬盘</li>
                    <li>游戏设备</li>
                    <li>智能单车</li>
                </ul>
            </div>
        </div>
        <div class="card"></div>
        <div class="card"></div>
        <div class="card card3"></div>
    </div>
</div>
</body>
</html>